Skip to content

gh-145376: Fix refleak in error path of time_tzset#145477

Merged
encukou merged 2 commits intopython:mainfrom
eendebakpt:refleak_timemodule
Mar 4, 2026
Merged

gh-145376: Fix refleak in error path of time_tzset#145477
encukou merged 2 commits intopython:mainfrom
eendebakpt:refleak_timemodule

Conversation

@eendebakpt
Copy link
Contributor

@eendebakpt eendebakpt commented Mar 3, 2026

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Copy link
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@encukou encukou merged commit 3fe7849 into python:main Mar 4, 2026
49 checks passed
@pganssle
Copy link
Member

pganssle commented Mar 5, 2026

We have a buildbot or something that tests for refleaks, right? Is there a reason that this wasn't detected there? Is there a lack of test coverage?

@sergey-miryanov
Copy link
Contributor

Yeah, sometimes it is hard to test the fail path. Sometimes it is just an oversight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants